package router

import (
	"context"
	"wx-dailydoer/handler/task"
	"wx-dailydoer/pb"
)

type Server struct {
	pb.UnimplementedTaskDoerServer
}

func (s *Server) ListTask(ctx context.Context, request *pb.EmptyRequest) (*pb.ListTasksResponse, error) {
	return task.List(ctx, request)
}
